package com.itheima.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * 创建时间：2020-08-22-9:41 xiaotian(●'◡'●))
 * 类说明：
 * 类注解：
 */

public class Order implements Serializable {

    private int id;
    private int member_id;
    private Date orderDate;
    private String name;
    private String orderType;
    private String orderStatus;
    private int setmeal_id;
    private String telphone;


    public int getId() {
        return id;
    }

    public Order setId(int id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public Order setName(String name) {
        this.name = name;
        return this;
    }

    public int getMember_id() {
        return member_id;
    }

    public Order setMember_id(int member_id) {
        this.member_id = member_id;
        return this;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public Order setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
        return this;
    }

    public String getOrderType() {
        return orderType;
    }

    public Order setOrderType(String orderType) {
        this.orderType = orderType;
        return this;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public Order setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
        return this;
    }

    public int getSetmeal_id() {
        return setmeal_id;
    }

    public Order setSetmeal_id(int setmeal_id) {
        this.setmeal_id = setmeal_id;
        return this;
    }

    public String getTelphone() {
        return telphone;
    }

    public Order setTelphone(String telphone) {
        this.telphone = telphone;
        return this;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Order{");
        sb.append("id=").append(id);
        sb.append(", member_id=").append(member_id);
        sb.append(", orderDate=").append(orderDate);
        sb.append(", name='").append(name).append('\'');
        sb.append(", orderType='").append(orderType).append('\'');
        sb.append(", orderStatus='").append(orderStatus).append('\'');
        sb.append(", setmeal_id=").append(setmeal_id);
        sb.append(", telphone='").append(telphone).append('\'');
        sb.append('}');
        return sb.toString();
    }

    public Order(int id, int member_id, Date orderDate, String name, String orderType, String orderStatus, int setmeal_id, String telphone) {
        this.id = id;
        this.member_id = member_id;
        this.orderDate = orderDate;
        this.name = name;
        this.orderType = orderType;
        this.orderStatus = orderStatus;
        this.setmeal_id = setmeal_id;
        this.telphone = telphone;
    }

    public Order() {
    }
}
